package com.lcq.springbootcreate.project.entity;

import java.util.Date;

public class User {
    private Integer id;

    private String username;

    private String password;

    private String personalized_signature;

    private Integer role;

    private Date create_time;

    private Date update_time;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", personalized_signature='" + personalized_signature + '\'' +
                ", role=" + role +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPersonalized_signature() {
        return personalized_signature;
    }

    public void setPersonalized_signature(String personalized_signature) {
        this.personalized_signature = personalized_signature;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public User(Integer id, String username, String password, String personalized_signature, Integer role, Date create_time, Date update_time) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.personalized_signature = personalized_signature;
        this.role = role;
        this.create_time = create_time;
        this.update_time = update_time;
    }

    public User() {
    }
}